<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        //什么时构造函数
        //原型---原型和构造函数的关系
        //继承--继承的在哪看到
        function Peo(name){
            this.name=name;
        }
        var jiujiu=new Peo("久久")

        // Object.constructor.prototype.toString=function(mes){
        //     console.log(mes+"久久好厉害");
        // }


    </script>
</body>
</html>